<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:im="http://itunes.apple.com/rss">

	<xsl:template match="/">
		<tracks xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
		
		<source>iTunes Store: Top Songs</source>
			<xsl:for-each select="atom:feed/atom:entry">
				<track>
					<name>
						<xsl:value-of select="im:name"/>
					</name>
					<artistName>
						<xsl:value-of select="im:artist"/>
					</artistName>
					<image>
						<xsl:value-of select="im:image[starts-with(@height,'170')]"/>
					</image>
					<URL>
						<xsl:value-of select="atom:link/@href"/>
					</URL>
				</track>

			</xsl:for-each>
		</tracks>
	</xsl:template>

</xsl:stylesheet>